package com.itheima.service;

import com.itheima.domain.ResultInfo;
import com.itheima.domain.User;

public interface UserService {

    ResultInfo register(User param);

    User findByUsername(String username);

    User findByTelephone(String telephone);

    ResultInfo sendSms(String telephone, String smsCode);

    ResultInfo pwdLogin(User param);

    void updateInfo(User param);

    User findByUid(int uid);
}
